package solutions.leetcode.normal

/**
 * @author lizhidong
 * <a href="https://leetcode.cn/problems/maximum-xor-after-operations/">2317. 操作后的最大异或和</a>
 */
private class Solution2317 {
    fun maximumXOR(nums: IntArray): Int {
        var r = 0
        for (item in nums) {
            r = r or item
        }
        return r
    }
}

fun main() {
    
}